import ToolActionApi from "@/tool/http/tool-action.js";

let dataAcquisition = ToolActionApi.init("data_acquisition_rule")

const rule = {
	queryParams: [],
	formOnChange: (watchForm) => {
		return [];
	},
	pageConfig: {},
	metaConfig: {},
	baseField: [{
		name: "created_date",
		memo: "接收时间",
		type: 3
	}]
}

export default async function(metadata) {
	rule.metaConfig.data_acquisition_rule_id = {
		dictList: await dataAcquisition.dict()
	}
	return rule;
}
